﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using FwProject.Comm.ExcelUtil;
using FwProject.Core.Restaurant;
using FwProject.Core.SettlementInfoModel;

namespace FwProject.Settlement.Dto
{
    [DisplayName(displayName:"分配收据")]
    public class SettlementExportDto
    {
        public long? EmployeeDriverid { get; set; }

        [DisplayName(displayName:"收/退款员")]
        [ExcelDateMember]
        public string EmployeeName { get; set; }

        [DisplayName(displayName: "收款状态")]
        [ExcelDateMember]
        public RestaurantPayStatus RestaurantPayStatus { get; set; }

        [DisplayName(displayName: "开单日期")]
        [ExcelDateMember]
        public DateTime CreationTime { get; set; }

        [DisplayName(displayName: "单号")]
        [ExcelDateMember]
        public string CreationNumber { get; set; }

        [DisplayName(displayName: "餐厅")]
        [ExcelDateMember]
        public string RestaurantName { get; set; }

        public BalanceCycleEnum BalanceCycle { get; set; }

        [DisplayName(displayName: "配送日期")]
        [ExcelDateMember]
        public string DeliveryDate { get; set; }

        public DateTime BeginTime { get; set; }

        public DateTime EndTime { get; set; }

        [DisplayName(displayName: "应收金额")]
        [ExcelDateMember(IsSum =true)]
        public decimal TotalPrice { get; set; }

        [DisplayName(displayName: "制单优惠")]
        [ExcelDateMember(IsSum =true)]
        public decimal Discountprice { get; set; }

        [DisplayName(displayName: "收款金额")]
        [ExcelDateMember(IsSum =true)]
        public decimal Actualprice { get; set; }
    }
}
